package SparkStreaming;

import org.apache.spark.api.java.JavaRDD;

import java.io.Serializable;

/**
 * <pre>
 * Created with IntelliJ IDEA.
 * User: zhengzhi
 * Date: 2017/4/18
 * To change this template use File | Settings | File Templates.
 * </pre>
 */
public interface CallBack extends Serializable {

    public void calculate(JavaRDD<String> javaRDD);
}
